{eval

function xinrui_qq_tpl_login_bar() {
global $_G;
}
<!--{block return}-->
<a href="{$_G['siteurl']}plugin.php?id=xinrui_qq&mod=setting&op=qqlogin"><img src="source/plugin/xinrui_qq/template/image/qq_login.gif" class="vm" /></a>
<!--{/block}-->
<!--{eval return $return;}-->

{eval
}

function xinrui_qq_tpl_login_extra_bar($text) {
global $_G;
}
<!--{block return}-->

	<!--{if $text}-->
	<a href="{$_G['siteurl']}plugin.php?id=xinrui_qq&mod=setting&op=qqlogin"><img src="source/plugin/xinrui_qq/template/image/qq_login.gif" class="vm" /></a>
	<!--{else}-->
    <style type="text/css">
	.qq_wx_icon .qqIcon img{display:none;}
	.qq_wx_icon .fastlg_fm .qqIcon{display:inline-block;width:16px;width:50px;}
	.qq_wx_icon .fastlg_fm{display:inline-block;width:16px;width:80px;background:url(source/plugin/xinrui_qq/template/image/xinrui_qq.png) 20px 1px no-repeat;}
	.qq_wx_icon .fastlg_fm:hover{display:inline-block;width:16px;width:80px;background:url(source/plugin/xinrui_qq/template/image/xinrui_qq.png) 20px -35px no-repeat;}
</style>
<div class="fastlg_fm y" style="margin-right: 10px; padding-right: 10px">
	<p><a class="qqIcon" href="{$_G['siteurl']}plugin.php?id=xinrui_qq&mod=setting&op=qqlogin"><img src="source/plugin/xinrui_qq/template/image/qq_login.gif" class="vm" /></a></p>
	<p class="hm xg1" style="padding-top: 2px;">{lang qqconnect:connect_header_login_tip}</p>
</div>
	<!--{/if}-->
  <!--{/block}-->  
<!--{eval return $return;}-->

{eval
}




function xinrui_qq_tpl_setting() {
global $_G;
}
<!--{block return}-->
	<style type="text/css">
		#xinrui_qq_menu li{clear:both}
		#xinrui_qq_menu li a{ line-height: 18px; padding: 3px 5px;}
		#toptb .qq_login .showmenu{padding-right: 15px;}
	</style>
	<span class="pipe">|</span>
    <!--{if empty($_G['xr_qq']['uid'])}-->
	<a id="xinrui_qq" href="{$_G['siteurl']}plugin.php?id=xinrui_qq&mod=setting&op=qqlogin&cp=bind" class="showmenu">{lang xinrui_qq:qq_bind}</a>
	<!--{else}-->
	<a id="xinrui_qq" href="javascript:;" class="showmenu" onmouseover="showMenu({'ctrlid': 'xinrui_qq'})">{lang xinrui_qq:qq}</a>
	<!--{/if}-->

<!--{/block}-->
<!--{eval return $return;}-->
{eval
}


function xinrui_qq_tpl_setting_menu() {
global $_G;
}
<!--{block return}-->
<style type="text/css">
    #xinrui_qq_menu li{clear:both}
    #xinrui_qq_menu li a{ line-height: 18px; padding: 3px 5px;}
</style>
<span class="pipe">|</span>

<ul id="xinrui_qq_menu" class="p_pop" style="display: none;">
	<!--{if !empty($_G['xr_qq']['uid']) && $_G['xr_qq']['uid'] == $_G['xr_qq']['bind']}-->
    <li><a href="javascript:;" onclick="showWindow('bind', 'plugin.php?id=xinrui_qq&mod=setting&op=bind')">{lang xinrui_qq:qq_bind_user}</a></li>
    <!--{else}-->
    <li><a href="javascript:;" onclick="showWindow('unbind', 'plugin.php?id=xinrui_qq&mod=setting&op=unbind')">{lang xinrui_qq:qq_unbind_user}</a></li>
    <!--{/if}-->
    
    <!--{if !$_G['xr_qq']['isuser']}-->
    <li><a href="javascript:;" onclick="showWindow('qq_upt_user', 'plugin.php?id=xinrui_qq&mod=setting&op=username')">{lang xinrui_qq:qq_upt_user}</a></li>
    <!--{/if}-->
    <!--{if !$_G['xr_qq']['ispwd']}-->
    <li><a href="javascript:;" onclick="showWindow('qq_upt_pwd', 'plugin.php?id=xinrui_qq&mod=setting&op=password')">{lang xinrui_qq:qq_upt_pwd}</a></li>
    <!--{/if}-->
</ul>

<!--{/block}-->
<!--{eval return $return;}-->
{eval
}



}